package server

/**
 * Created with Goland.
 * User: 令狐飞侠
 * Date: 2022-1-29
 * Description: rpc server
 */


//定义结构体实现server返回数据
type LhServer struct {

}

func (s *LhServer) Rec(nul *struct{}, res *Response)  error{
	*res = Response{Data: []byte("hello world!")}
	return nil
}

